﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using VLUSM_BusinessLogic.DataTransferObjects;

namespace VLUSM_Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IUserAccountService" in both code and config file together.
    [ServiceContract]
    public interface IUserAccountService
    {
        [OperationContract]
        UserDTO GetUserByID(int IDFilter);
        [OperationContract]
        UserDTO GetUserByTenTaiKhoan(string TenTaiKhoanFilter);
        [OperationContract]
        UserDTO GetUserByUserNamePassword(string username, string password);
        [OperationContract]
        void UpdateUserAccount(UserDTO objdto);
        [OperationContract]
        void ChangePassword(int ID, string password);
        [OperationContract]
        bool Validate(string username, string password);
    }
}
